package com.eastfair.constant;

import com.eastfair.core.context.ContextUtil;

/**
 * redis中的key
 * @ClassName RedisKeyConstant
 * @Description TODO
 * @Author liuxiaobai
 * @Date 2021/8/12 10:17 上午
 * @Version 1.0
 */
public interface RedisKeyConstant {

    /**
     * im对话列表 存储类型为set(对话唯一code) 替换域为projectId 项目隔离
     */
    String IM_DIALOG = "IM_DIALOG_%s";
    /**
     * 邮件配置缓存
     */
    String THIRD_PART_EMAIL_CONFIG = "THIRD_PART_EMAIL_CONFIG_%s";

    /**
     * 观众胸牌卡号key
     */
    String VISITOR_CARD_NUMBER = "visitor_card_number_%s_exhibitionId_%s";

    /**
     * 编辑表单缓存key
     */
    String FORM_FIELD_PERFECT_INFO_REDIS_KEY = "from_field_perfectInfo_subjectType:%s_languageType:%s_projectId:%s_exhibitionId:%s";

    /**
     * 详情表单缓存key
     */
    String FORM_FIELD_DETAIL_REDIS_KEY = "from_field_detail_subjectType:%s_languageType:%s_projectId:%s_exhibitionId:%s";

}
